package com.jxbeidou.login.entity;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @program: jxbeidou-admin
 * @ClassName: JwtVo
 * @description: 登录成功返回实体
 * @author: 杜晓祥
 * @create: 2023-12-12 16:00
 * 版权所有：交信北斗(北京)信息科技有些公司
 */
@Data
@Schema(description = "登录成功返回结果")
public class JwtVO implements Serializable {

    private static final long serialVersionUID = 6455917936533653989L;

    @Schema(description = "登录token")
    private String token;
    @Schema(description = "开始时间")
    private LocalDateTime startTime;
    @Schema(description = "过期时间")
    private LocalDateTime expirationTime;
    @Schema(description = "验证时间")
    private LocalDateTime verifyTime;
    @Schema(description = "加密方式,RSA/SM2等等")
    private String encryptMode;
    @Schema(description = "加密密钥，非对称为公钥，其他为密钥")
    private String publicKey;

}
